package com.cskaoyan.service;

import com.cskaoyan.bean.*;
import com.cskaoyan.bean.param.BaseParam;
import com.cskaoyan.bean.wx.home.vo.GoodsVo;
import com.cskaoyan.bean.wx.home.vo.GrouponVo;
import com.cskaoyan.bean.wx.home.vo.HotGoodsVo;
import com.cskaoyan.bean.wx.home.vo.NewGoodsVo;

import java.util.List;

public interface GoodsService {
    GoodsData getGoodsForPage(String goodsId, String goodsSn, String name, BaseParam param);

    void addNewGoods(GoodsInfoBO goodsInfoBO);

    void updateGoods(GoodsInfoBO goodsInfoBO);

    void deleteGoods(MarketGoods marketGoods);

    GoodsInfoBO getGoodsDetail(Integer id);

    CatAndBrandVO getCatAndBrandList();

    boolean checkGoodsName(String name, Integer id);


    List<GrouponVo> queryAllGroupon();

    List<HotGoodsVo> queryAllHotGoods();

    List<NewGoodsVo> queryAllNewGoods();

    BaseRespVo queryAllGoodsType();

}
